<?php


namespace app\bbxw\model;

use think\admin\Model;

/**
 * 物品配置模型
 * Class DataUser
 * @package app\propety\model
 */
class ReceptionUser extends Model
{
    protected  $name="kfq_reception_user";

    public static function getList(){
        return static::mk()->where(['is_deleted' => 0,'status'=>1])->where('id','<>',9)->column('id,username,nickname');
    }
    public static function getOne($where=[]){
        $map = ['is_deleted' => 0];
        $map=$where?array_merge($map,$where):$map;
        $list = static::mk()->where($map)->find();
        return $list;
    }


}